export default {
    changeCity (state, city) {
        state.city = city
        try {
            // 将城市的改变记录在本地，下次用还是一样
            // console.log('进行缓存改变')
            // console.log(this.$store)
            localStorage.city = city
        } catch (e) {console.log('异常')}
        
    }
}